package com.wms.ymcc.api;

import com.wms.ymcc.domain.Login;
import com.wms.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author : 阿盛哟
 * @description : 注册
 * @createDate : 2025/5/29 17:12
 */
@FeignClient(name = "service-uaa") // 服务名
public interface LoginApi {

    @RequestMapping(value="/login/phoneRegister",method= RequestMethod.POST)
    JSONResult phoneRegister(@RequestBody Login login);
}